# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer:
pkgname=py3-jeepney
pkgver=0.7.1
pkgrel=1
pkgdesc="Low-level, pure Python DBus protocol wrapper"
options="!check" # Requires unpackaged testpath
url="https://gitlab.com/takluyver/jeepney"
arch="noarch"
license="MIT"
depends="python3"
source="https://pypi.io/packages/source/j/jeepney/jeepney-$pkgver.tar.gz"
builddir="$srcdir"/jeepney-$pkgver

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
	rm -rf "$pkgdir"/usr/lib/python3*/site-packages/jeepney/tests
	rm -rf "$pkgdir"/usr/lib/python3*/site-packages/jeepney/*/tests
}

sha512sums="
f0af5a18a669f1a6322925201cad83ee01bc5a1b91577565042fd8a18b506a3650ff67b0ba333c8fb3b179f43ef243d16b07a9a1f7a7e5baec825dda0e6b0571  jeepney-0.7.1.tar.gz
"
